// minimal vertex shader
// www.lighthouse3d.com



void main()
{	

	// the following three lines provide the same result

//	gl_Position = gl_ProjectionMatrix * gl_ModelViewMatrix * gl_Vertex;
//	gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
	gl_Position = ftransform();
	gl_BackColor=vec4(1.0,0,0,0.9);
	gl_FrontColor=vec4(0,0,0.9,0);
}
